*{
    padding: 0;
    margin: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
}
.app{
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
}
header{
    height: 44px;
    position: relative;
    h3{
        text-align: center;
        line-height: 44px;
    }
    span{
        width: 44px;
        height: 44px;
        position: absolute;
        top: 0;
        left: 0;
        font-size: 24px;
        line-height: 44px;
        text-align: center;
    }
}
.search{
    height: 49px;
    background-color: #f4f4f4;
    padding: 10px 20px;
    input{
        border: none;
        outline: none;
        background-color: white;
        padding: 0 10px;
        height: 100%;
        width: 100%;
        border-radius: 5px;
    }
}
.list_warp{
    flex: 1;

    overflow: auto;
}
.cityList{
    position: fixed;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* transform: translateY(-50%); */
    width: 20px;
    height: 100vh;
    p{
        width: 20px;
        height: 17px;
        font-size: 12px;
        line-height: 17px;
        text-align: center;
    }
}
.hotCity{
    h4{
        line-height: 30px;
        padding-left: 20px;
        font-size: 14px;
        font-weight: normal;
    }
    ul{
        display: flex;
        padding: 10px 20px;
        flex-wrap: wrap;
        justify-content: space-between;
        li{
            width: 25%;
            height: 30px;
            line-height: 30px;
            background-color: #f4f4f4;
            text-align: center;
            margin-bottom: 10px;
            margin-right: 10px;
        }
    }
}
.city_item{ 
    h4{
        height: 30px;
        line-height: 30px;
        padding: 0 20px;
        background-color: #f4f4f4;
    }
    li{
        height: 48px;
        margin: 0 20px;
        line-height: 48px;
        font-size: 14px;
        border-bottom: 1px solid #ccc;
        &:last-child{
            border-bottom: none;
        }
    }
}
.tip{
    width: 40px;
    height: 40px;
    background-color: rgba(0,0,0,.8);
    color: white;
    line-height: 40px;
    text-align: center;
    font-size: 22px;
    font-weight: 900;
    border-radius: 5px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: none;
}
.show{
    display: block;
}